/<template>
  <div>
    <!-- <slot name='goods'></slot> -->
    <dl>
       
      <dt>
        <img :src="item.img" alt="" />
      </dt>
      <dd>
        <h4>{{ item.title }}</h4>
        <p>
          <span>{{ item.name }}</span>
           <span>点赞：{{ item.num }}</span>
            <slot name="goods"></slot>
        </p>
      </dd>
    </dl>
  </div>
</template>

<script>
export default {
  props:{
      item:Object,
      index:Number
  }
};
</script>

<style>
span{
    margin-right: 10px;
}
</style>